package com.ruike.alisurface.utils;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;

import com.ruike.alisurface.project_DaTi.AnswerQuestionActivity;
import com.ruike.alisurface.project_DaTi.StartAnswerQuestionActivity;
import com.ruike.alisurface.ui.mainPage.MainActivity;
import com.ruike.alisurface.ui.mainPage.MainTypeActivity;
import com.voodoo.lib_utils.L;
import com.voodoo.lib_utils.ShareUtils;

public class BackMainUtils {

    public static void setActivity(Activity context) {
        Intent intent = new Intent(context, StartAnswerQuestionActivity.class);
        context.startActivity(intent);
        context.overridePendingTransition(com.voodoo.lib_frame.R.anim.page_intent_in_anim, com.voodoo.lib_frame.R.anim.page_intent_out_anim);

    }

    public static Intent setActivity(Context context) {
        return new Intent(context, StartAnswerQuestionActivity.class);
    }
}
